package com.example.miniodemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author Chen Lin
 * @date 2022.03.21  4:41 PM
 * @description 文件实体类
 */
@Data
@Accessors(chain = true)
@TableName("file")
public class FileEntity {
    @TableId
    private String id;
    @TableField("file_name")
    private String fileName;
    @TableField("file_state")
    private Integer fileState;
    @TableField("file_url")
    private String fileUrl;
}
